Announcements

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

.NETFramework,Version=v4.5,Profile=Client" were not found

desdinova
Advocate

.NETFramework,Version=v4.5,Profile=Client" were not found

desdinova
Advocate
Advocate

Hello 

When i try to build macro i get "The reference assemblies for framework ".NETFramework,Version=v4.5,Profile=Client" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend." error.

How can i fix this?

I use revit 2015

Thanks in advance...

 

0 Likes
Reply
Accepted solutions (1)
1,693 Views
1 Reply
Reply (1)

augusto.goncalves
Alumni
Alumni
Accepted solution

At your project settings, where you can choose the .NET version, you'll see a option with "Client Profile". If so, DO NOT select this version of the .NET, but only the respective version without these words..

Regards,



Augusto Goncalves
Twitter @augustomaia
Autodesk Developer Network
0 Likes