Forums

cannot locate gacutil

General discussion about Cobra. Releases and general news will also be posted here.
Feel free to ask questions or just say "Hello".

cannot locate gacutil

Postby JokarZ » Mon Feb 04, 2013 6:49 am

hello... im new in using this language... i was trying to install this.. and ask to install .net 4... but it says
==== Install Cobra.Core library to the GAC

** ERROR: Cannot locate a gacutil. Maybe you can try again using the "Visual Stu
dio Command Prompt" or ".NET SDK Command Prompt".
You may need to install the Windows SDK (https://www.google.com/search?q=windows
+sdk+.net+4)
Need help with the above error?
* Make sure you ran as a Windows Administrator.
* Install .NET or a Visual Studio product if you have not before.
* Review http://cobra-language.com/troubleshooting
* Ask at http://cobra-language.com/discuss
* Ask at http://cobra-language.com/irc

pls help me... sorry if im a noob :cry:
JokarZ
 
Posts: 6

Re: cannot locate gacutil

Postby ObtuseAngle » Mon Feb 04, 2013 7:38 pm

Grab the SDK (that Google link, but all on one line). Should be from a Microsoft site.
Stay online so the installer can download the necessary bits.
Install only the .Net tools (includes a gacutil, amongst other tools) not everything.
Try again.

Goods luck!
99 programming bugs in the code, 99 bugs in the code, fix 1 bug and compile it again, 101 programming bugs in the code
ObtuseAngle
 
Posts: 42
Location: Gippsland, Australia

Re: cannot locate gacutil

Postby JokarZ » Tue Feb 05, 2013 5:40 am

i downloaded the SDK... but then another error..


** ERROR: Exit code from running Source Cobra: 1
Need help with the above error?
* Make sure you ran as a Windows Administrator.
* Install .NET or a Visual Studio product if you have not before.
* Review http://cobra-language.com/troubleshooting
* Ask at http://cobra-language.com/discuss
* Ask at http://cobra-language.com/irc

im a little more confused...
JokarZ
 
Posts: 6

Re: cannot locate gacutil

Postby nerdzero » Tue Feb 05, 2013 9:22 am

What was the text before that? Did you get some message about permission errors possibly?
nerdzero
 
Posts: 286
Location: Chicago, IL

Re: cannot locate gacutil

Postby Charles » Tue Feb 05, 2013 6:25 pm

Also, what platform are you on? You can try "cobra -about" or if that's not working yet, "Snapshot/cobra -about".

What drive and path are you on?

What op sys and version?
Charles
 
Posts: 2515
Location: Los Angeles, CA

Re: cannot locate gacutil

Postby JokarZ » Thu Feb 07, 2013 3:03 am

im running in windows xp and im using 0.9.2 version of cobra and tried to install microsoft.net 4... but since the sdk i tried to download is for windows 7, i think i wont work...
JokarZ
 
Posts: 6

Re: cannot locate gacutil

Postby JokarZ » Thu Feb 07, 2013 3:15 am

this is the whole message i recieved... i tried the .net 3.5... still the same problem


==== Build Cobra.Core library

run: cobra.exe -build-standard-library -debug -turbo -out:Cobra.Core.dll -key-fi
le:Cobra.Core\Cobra.Core.snk Cobra.Core\AssemblyAttrs.cobra
: c:\Cobra-0.9.2\Source\Native.cs(584): error: The type or namespace name "va
r" could not be found (are you missing a using directive or an assembly referenc
e?)
: c:\Cobra-0.9.2\Source\Native.cs(585): error: The best overloaded method mat
ch for "System.InvalidOperationException.InvalidOperationException(string)" has
some invalid arguments
: c:\Cobra-0.9.2\Source\Native.cs(585): error: Argument "1": cannot convert f
rom "var" to "string"
: c:\Cobra-0.9.2\Source\Native.cs(604): error: The type or namespace name "va
r" could not be found (are you missing a using directive or an assembly referenc
e?)
: c:\Cobra-0.9.2\Source\Native.cs(609): error: The type or namespace name "va
r" could not be found (are you missing a using directive or an assembly referenc
e?)
: c:\Cobra-0.9.2\Source\Native.cs(610): error: The type or namespace name "va
r" could not be found (are you missing a using directive or an assembly referenc
e?)
: c:\Cobra-0.9.2\Source\Native.cs(612): error: Cannot implicitly convert type
"var" to "decimal"
: Compilation failed - 7 errors, 0 warnings

** ERROR: Exit code from running Source Cobra: 1
Need help with the above error?
* Make sure you ran as a Windows Administrator.
* Install .NET or a Visual Studio product if you have not before.
* Review http://cobra-language.com/troubleshooting
* Ask at http://cobra-language.com/discuss
* Ask at http://cobra-language.com/irc
JokarZ
 
Posts: 6

Re: cannot locate gacutil

Postby Charles » Thu Feb 07, 2013 3:24 am

Why Cobra 0.9.2 instead of the newer 0.9.3?
Charles
 
Posts: 2515
Location: Los Angeles, CA

Re: cannot locate gacutil

Postby JokarZ » Thu Feb 07, 2013 4:40 am

i change the cobra to a newer version but i realized the sdk only compatible to win xp sp3 and mine is sp2... so i think i got to upgrade this to win 7... :|
JokarZ
 
Posts: 6

Re: cannot locate gacutil

Postby JokarZ » Sat Feb 09, 2013 3:20 am

i somehow downloaded a sdk for .net 3.5 but i still got the error messages just like the last time:

==== Build Cobra.Core library

run: cobra.exe -build-standard-library -debug -turbo -out:Cobra.Core.dll -key-fi
le:Cobra.Core\Cobra.Core.snk Cobra.Core\AssemblyAttrs.cobra
: c:\Cobra-0.9.3\Source\Native.cs(584): error: The type or namespace name "va
r" could not be found (are you missing a using directive or an assembly referenc
e?)
: c:\Cobra-0.9.3\Source\Native.cs(585): error: The best overloaded method mat
ch for "System.InvalidOperationException.InvalidOperationException(string)" has
some invalid arguments
: c:\Cobra-0.9.3\Source\Native.cs(585): error: Argument "1": cannot convert f
rom "var" to "string"
: c:\Cobra-0.9.3\Source\Native.cs(604): error: The type or namespace name "va
r" could not be found (are you missing a using directive or an assembly referenc
e?)
: c:\Cobra-0.9.3\Source\Native.cs(609): error: The type or namespace name "va
r" could not be found (are you missing a using directive or an assembly referenc
e?)
: c:\Cobra-0.9.3\Source\Native.cs(610): error: The type or namespace name "va
r" could not be found (are you missing a using directive or an assembly referenc
e?)
: c:\Cobra-0.9.3\Source\Native.cs(612): error: Cannot implicitly convert type
"var" to "decimal"
: Compilation failed - 7 errors, 0 warnings

** ERROR: Exit code from running Source Cobra: 1
Need help with the above error?
* Make sure you ran as a Windows Administrator.
* Install .NET or a Visual Studio product if you have not before.
* Review http://cobra-language.com/troubleshooting
* Ask at http://cobra-language.com/discuss
* Ask at http://cobra-language.com/irc
JokarZ
 
Posts: 6


Return to Discussion

Who is online

Users browsing this forum: No registered users and 89 guests

cron