Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Basing new Solution on Old
Message
De
10/09/2015 13:22:46
 
 
À
10/09/2015 11:46:58
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:
01624468
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.
>

That didn't have any effect.

>>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 think that I had renamed the namespace in my program, but not on the Project Properties. I seem to have it working now, thanks.
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform