Changing .NET version of system references

.NET obfuscator and automated error reporting

Moderators: Luke Jefferson, melvyn.harbour, dom.smith

Changing .NET version of system references

Postby GSmulders » Wed Mar 28, 2012 1:17 pm

Hi,

I have been working in a .NET 4 library project in C#.
Unfortunately, by request of the client, I have changed the Target Framework to .NET 3.5

Now I've got the problem that, after Smart Assembly builds the assembly the referenced System resources are in .NET version 4.
Before building the assembly, the references are set to .NET version 2
Because of this problem, I cannot use the regasm of .NET 2 to register the assembly.

Does anyone know what I'm doing wrong and if there's a workaround for this?

Sincerely,

Geert-Jan
GSmulders
 
Posts: 1
Joined: Wed Mar 28, 2012 11:39 am
Location: Netherlands

Postby Brian Donahue » Thu Mar 29, 2012 4:29 pm

Hello Geert-Jan,

I can't find any record of SmartAssembly breaking an assembly in this way. Just to confirm, which system resources are you talking about, and how do you know they are still in the v4 format?
Brian Donahue
 
Posts: 6670
Joined: Mon Aug 23, 2004 10:48 am


Return to SmartAssembly 6

Who is online

Users browsing this forum: No registered users and 1 guest