Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Basing new Solution on Old
Message
From
10/09/2015 11:46:58
 
 
To
10/09/2015 09:12:22
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 4.0
OS:
Windows 8.1
Network:
Windows 2000 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01624440
Message ID:
01624457
Views:
36
>Hi,
>
>I am trying to copy a solution I have working and make some changes to it for a new project. When I do this and change the namespace and AssemblyInfo to refer to my new project's name I get an error:
>
>The type or namespace name 'DbApplyChangeFailedEventArgs' could not be found (are you missing a using directive or an assembly reference?) D:\Development\VS2010\CManSync\CManSync\Program.cs 120 62 CManSync
>
>The reference is to the Microsoft.Synchornization.Data.dll which is already referenced in the project.

Maybe the path to the dll was relative. Simplest just to remove and re-add the reference.

>If I just copy the old project to a new folder and leave everything named the same it works fine except the exe generated is named incorrectly.

The exe name is tied to the assembly name so you could just rename the exe post-build. But it's probably not a good idea to use the same assembly name for two different code bases anyway.

>I figure I am missing some configuration setting or name change somewhere but can't find any more references when I search the entire solution. Anyone have any idea what I could be missing?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform