Hi All, I think this topic could go to a number of MS groups. Since it is in regards to AesCryptoServiceProvider, I'm hoping one of the Security folks can help. Windows XP SP3. Visual Studio 2008. Managed Dll. I'm attempting to create an AesCryptoServiceProvider: AesCryptoServiceProvider^ aes = gcnew AesCryptoServiceProvider( csp ); I receive from the compiler, "error C2065: 'AesCryptoServiceProvider' : undeclared identifier." I verified Project Properties->Targeted Framework is .Net Framework 3.5. Though [1] states the assembly I need is System.Core (in System.Core.dll), there is no System.Core in ...\WINDOWS\.Net Framework \...\3.5\. So I can't force a reference to it. What gives? I have not had success in finding information on C2065 and AesCryptoServiceProvider on the web or in the groups. Thanks in Advance, Jeff Jeffrey Walton [1] http://msdn.microsoft.com/en-us/library/system.security.cryptography.aescryptoserviceprovider.aspx
We need to at the reference in %PROGRAMFILES%\Reference Assemblies \Microsoft\Framework\v3.5. [Note to self]: I would have changed the location from %WINDIR% \Microsoft .Net\ also so that others have the same problem. On Aug 5, 11:18 am, Jeffrey Walton wrote: > Hi All, > > I think this topic could go to a number of MS groups. Since it is in > regards to AesCryptoServiceProvider, I'm hoping one of the Security > folks can help. > > Windows XP SP3. Visual Studio 2008. Managed Dll. > > I'm attempting to create an AesCryptoServiceProvider: > AesCryptoServiceProvider^ aes = gcnew AesCryptoServiceProvider( csp ); > > I receive from the compiler, "error C2065: > 'AesCryptoServiceProvider' : undeclared identifier." > > I verified Project Properties->Targeted Framework is .Net Framework > 3.5. Though [1] states the assembly I need is System.Core (in > System.Core.dll), there is no System.Core in ...\WINDOWS\.Net Framework > \...\3.5\. So I can't force a reference to it. > > What gives? I have not had success in finding information on C2065 and > AesCryptoServiceProvider on the web or in the groups. > > Thanks in Advance, > Jeff > Jeffrey Walton > > [1]http://msdn.microsoft.com/en-us/library/system.security.cryptography..