This is a migrated thread and some comments may be shown as answers.

WinForms source not compiling

3 Answers 101 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Kennith
Top achievements
Rank 1
Kennith asked on 08 Apr 2010, 02:55 PM
I'm trying to troubleshoot a null reference exception inside of the Telerik.GridView.dll.
I'm opening the RadControlsSource.sln and since I'm on Visual Studio 2008, I'm forced to upgrade the project.
During compile I get MSBuild errors. Here is an example:

Error   10  The command ""C:\Program Files (x86)\Microsoft Visual Studio 8\SDK\v2.0\Bin\gacutil.exe" /f /i "C:\Users\kmann\Desktop\build\RadGridView\bin\Debug\Telerik.WinControls.GridView.dll"" exited with code 1.   C:\Users\kmann\Desktop\build\copy.msbuild   7   5   RadGridView 
 

There are 11 other errors similar to this. Any thoughts on how to fix this? I know next to nothing about MSBuild and don't know where to start for debugging it.



3 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 08 Apr 2010, 04:17 PM
Hi Kennith,

Thanks for writing.

In order to compile our source code you must install the .NET Framework SDK or copy the gacutil.exe to the bin folder. GACUTIL doesn't come with the .NET Runtime, but with the .NET SDK - also a free download, but not part of the basic redistributable. The SDK is installed with Visual Studio, so development machines always have it.

Hope this helps.
 
All the best,
Peter
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Kennith
Top achievements
Rank 1
answered on 08 Apr 2010, 05:11 PM
Turns out you have to run Visual Studio with Administrative priv's to get it to compile.
0
Vassil Petev
Telerik team
answered on 13 Apr 2010, 09:39 AM
Hello Kennith,

Yes, it is indeed necessary to run Visual Studio with Administrative privileges. You can automate this by right-clicking on the Visual Studio executable --> Properties --> Run as administrator checkbox.


All the best,
Vassil
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
General Discussions
Asked by
Kennith
Top achievements
Rank 1
Answers by
Peter
Telerik team
Kennith
Top achievements
Rank 1
Vassil Petev
Telerik team
Share this question
or