Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can I open the Revit 2019.1 SDK .csproj samples?

1 REPLY 1
SOLVED
Reply
Message 1 of 2
rita.aguiar
1033 Views, 1 Reply

Can I open the Revit 2019.1 SDK .csproj samples?

I just started learning C# to develop a plugin for Revit in .net and I went through the HelloWorld tutorial.

I was looking foward to be able to learn from the Revit 2019.1 SDK samples found here:

https://www.autodesk.com/developer-network/platform-technologies/revit

 

How can I open the csproj samples files ?

 

I want to be able to open the csproj files of the Revit 2019.1 SDK samples to learn from the addins created. Can I do that?

When I try to open them I get an error message:

"The imported project "C:/Revit 2019.1SDK\Samples\Events\<name of sample I want to open>\CS\VSProps\SDKSamples.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. C:\Revit2019.1SDK\Samples|Events\<name of sample I want to open>\CS\<name of sample I want to open>.csproj"

(see attached png).

 

In fact, I can't find the SDKSamples.targets

 

Any help would be appreciated.

1 REPLY 1
Message 2 of 2

Hi @rita.aguiar,

 Copy the VSProps folder(D:\revit sdk\Samples)  to Autoupdate folder(D:\revit sdk\Samples\Events\AutoUpdate\CS) and try to open the Autoupdate project file.

Screenshot (24).pngScreenshot (25).png


Naveen Kumar T
Developer Technical Services
Autodesk Developer Network

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


Autodesk Design & Make Report