C
ColonL
Guest
Hello,
I've recently started learning about Assemblies and Class Libraries, I've Practiced Private Assemblies and successfully executed them.I am now trying to install Shared Assemblies.The Procedure which i followed is -
1) created a snk file of my class library -
2) Running Command Prompt as Administrator and tried this -
3)As it says gacutil is not recognized as internal or external command,I've copied gacutil.exe and gacutil application from C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin to C:\Users\Lalith\Documents\Visual Studio 2017\Projects\C# for Life\Part - 3\2_CarLibrary\bin\Debug and tried this -
Now, the error message is "Failure adding Assembly to the Cache: This assembly is built by the runtime newer than the currently loaded runtime and cannot be loaded."
Accepting the fact that i'm pretty new to installing shared assemblies to C:\Windows\Microsoft.NET\assembly\GAC_MSIL,is that how it's done? if not, Please Kindly help me.
ColonL
Continue reading...
I've recently started learning about Assemblies and Class Libraries, I've Practiced Private Assemblies and successfully executed them.I am now trying to install Shared Assemblies.The Procedure which i followed is -
1) created a snk file of my class library -
2) Running Command Prompt as Administrator and tried this -
3)As it says gacutil is not recognized as internal or external command,I've copied gacutil.exe and gacutil application from C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin to C:\Users\Lalith\Documents\Visual Studio 2017\Projects\C# for Life\Part - 3\2_CarLibrary\bin\Debug and tried this -
Now, the error message is "Failure adding Assembly to the Cache: This assembly is built by the runtime newer than the currently loaded runtime and cannot be loaded."
Accepting the fact that i'm pretty new to installing shared assemblies to C:\Windows\Microsoft.NET\assembly\GAC_MSIL,is that how it's done? if not, Please Kindly help me.
ColonL
Continue reading...