Questions tagged [assembly-references]
142 questions
1
vote
1 answer
How can I get file version info of an .exe in a handheld device (CF/CE)?
In my server app, I can get File version info this way:
FileVersionInfo currentVersion = FileVersionInfo.GetVersionInfo(filePath);
...but that trick doesn't seem to work in the Compact Framework (I get, "The type or namespace name 'FileVersionInfo'…

B. Clay Shannon-B. Crow Raven
- 8,547
- 144
- 472
- 862
1
vote
1 answer
How to exclude assembly reference using custom conditional properties in Xamarin.iOS project
I have solution in Xamarin.iOS with project that references very large DLL (binding for very large native library). So build time for solution is very large. After simple modification in any source file I need to wait for linking. So my idea was to…

dmitry1100
- 1,199
- 12
- 26
1
vote
1 answer
Faster C# compilation via usage of "object" files and merge later?
I'm very new to C# and have more knowledge in the field of C++ and Java. When compiling a C++ or Java project, I am used to that compilation is performed for each source file on its own. In C++, and additional step to link all the object files into…

Niklas R
- 16,299
- 28
- 108
- 203
1
vote
3 answers
How to check programatically if an assembly reference exists in c#?
I am trying to write a small c#/.net library for very specific financial calculations.
I have written several classes that depend only on the standard assemblies of the .net framework. That is, the library with these classes require nothing other…

selmar
- 181
- 3
- 14
1
vote
1 answer
What would cause a project to suddenly lose track of one of its references?
I successfully complile my project, closed it, ran 7-zip on it, then opened it back up to find, on attempting to build it, three err msgs of the sort:
The type or namespace name 'Windows' does not exist in the class or namespace 'OpenNETCF' (are…

B. Clay Shannon-B. Crow Raven
- 8,547
- 144
- 472
- 862
0
votes
1 answer
consuming a WSDL-link as a WCF-service-refernce in C# VS2008
I am trying to consume a WSDL-link say https://somewhere.com/somesetofservice?wsdl
This WSDL link, I am intendeding to consume the associated web-methods by adding it as a WCF-service-refernce in C# VS2008. I am doing this inside a…

MukeshAnAlsoRan
- 671
- 2
- 6
- 13
0
votes
1 answer
.Net Required Assembly References
I used ReSharper's "Optimize References" functionality on one of my C# projects, and it removed a pair of references to Fluent Nhibernate / Nhibernate. I thought this was completely valid because I don't reference anything from them directly in…

Alex Moore
- 3,415
- 1
- 23
- 39
0
votes
2 answers
Why does using Microsoft Sql Server Management Objects (SMO) in the DAL require references to SMO dlls in a project which references the DAL?
I've searched for an answer on google using:
"The type 'Microsoft.SqlServer.Management.Smo.Server' is defined in an assembly that is not referenced."
Why does using Microsoft Sql Server Management Objects (SMO) in the DAL require references to SMO…

Erikest
- 4,997
- 2
- 25
- 37
0
votes
0 answers
Basically a 'does not contain a definition' and ' no accessible extension method' type problem
I use Unity. Node is a script that is making public bools and variable that is referenced by all scripts so its not that important and the script with the error is called Enemymover, with coordinates being a public Vector2Int in Node. Im basically…

Poe
- 1
- 1
0
votes
0 answers
Reference assembly could not be loaded
I keep getting this error when I build a MAUI proj in visual studio. Any one can help?
ILLink : error IL1039: Reference assembly '.dll' could not be loaded.

Gary Vlc
- 141
- 1
- 2
- 10
0
votes
1 answer
Visual Studio 11 Missing Assembly references
Upon trying to build even the simplest Metro application in Visual Studio, I get a dozen or so errors regarding missing assembly references (error WMC1003). I just installed VS 11 from here:…

danielmhanover
- 3,094
- 4
- 35
- 51
0
votes
0 answers
Visual Studio 2019 Report Server Project RDL using reference assembly getting error "Reference Required to Assembly"
So I have a DLL that has a "using System". When I use this DLL in the SSRS report rdl as reference assembly, I would the error below (had to typed these as I cannot copy from the VS report preview):
"An error occurred during local report processing.…

LearnItDom
- 130
- 4
0
votes
1 answer
The type 'StackPanel' was not found in Visual Studio for Mac
Photos of the code:
The error: ContentPage
Cs file
Xaml file
another css file
I am new to Visual Studio for Mac(building my first project here). So far everything was going just fine, but when I tried to utilise - I ran…

Jace
- 5
- 2
0
votes
0 answers
Using newer version of System.IO.Ports.SerialPort
I have problem with barcode scanner randomly disconnecting from serial port so I want to try using newer version of System.IO.Ports.SerialPort which is available via NuGet package.
.NET Framework 4.8.0 SerialPort is version 4.0.0.0, NuGet SerialPort…

Ondřej
- 1,645
- 1
- 18
- 29
0
votes
1 answer
Cannot find an assembly reference after changing from a "Console App" to a "Console App (.Net Framework)", doesn't exist in current context?
Early on in my project I created a project "Console App" but later on needed to change over to a "Console App (.Net Framework)".
I've changed the output type to Class Library in my new Console App (.Net Framework), which was found to be a general…