Quantcast
Channel: All Revit API Forum posts
Viewing all articles
Browse latest Browse all 66694

'InitializeComponent' does not exist in the current context WPF in Revit API

$
0
0

I created a class library (.NET Framework) project and then I added a new item in the project and selected WPF (.NET Framework) then the XAML file was created and the InitializeComponent() method was fine, but the problem pop up when I started to add the RevitAPI.dll and RevitAPIU.dll in the project references, the InitializeComponen() suddenly gives that error 'InitializeComponent' does not exist in the current context  I dunno why!
I searched on all the solutions on the internet but nothing helped about the Build Action and such things.
I hope someone can help with a radical solution since I spent 3 days in that error with all the solutions but it's still the same.

Thanks


Viewing all articles
Browse latest Browse all 66694

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>