Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Basing new Solution on Old
Message
De
10/09/2015 11:46:58
 
 
À
10/09/2015 09:12:22
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 4.0
OS:
Windows 8.1
Network:
Windows 2000 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01624440
Message ID:
01624457
Vues:
35
>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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform