I've been using Visual Studio 7.0 to develop a C# application for a while. Today, I downloaded and installed the .NET 1.1 framework and SDK. But I can't figure out how to get Visual Studio to start using the new version of the SDK. If I rebuild my project and run, it's still using .NET 1.0... you can see this in the output:
Actually, Visual Studio 2002 only targets NET 1.0.You you can not use the .NET 1.1 from within Visual Studio 2002. (
To build a .NET 1.1 App you have two options:
1. Use Visual Studio to write and organize your files and then use the command line compiler on the 1.1 SDK folder to build your app (but remember that NET 1.1 introduces some code-breaking changes to NET 1.0)
I have question. We are planning to write major stand alone app in .NET which hosts various GUI (Windows)
Screens( in ActiveX Objects) . Does .NET Remoting help us to host GUI Objects display remotely ?
Does .NET Support to display GUI Obejcts? or its just messaging protocol?
I have finally discovered that the Deployment project in Visual Studio .NET offers a GAC folder. I have just, when creating my deployment project, to place my assemblies in this folder.
And now, I have another question: I would like that the setup program make the assemblies appear in the Visual Studio .NET "Customize Toolbox" dialog box. How to do that?
I know you can make web-references dynamic, which then only need a small change in the web.config file to repoint them to the new location you want to look at.
My question is, can you do something aking to this with regular (non-web) references? Perhaps using the web/<application>.config file, or a manifest file or something?
We are looking to create a central library directory where we can keep our common libraries for access from any machine which needs them. One consideration was 2K's Distributed File System, but that is an awful lot of complications, especially since it means getting our domain administrators involved. So i was thinking there might be an easier way by being able to just put in a line which tells the app where to look for the reference at run-time. yes??
It would probably be eaiser to just setup a network share for the library, and add a project reference. I think deciding which asseblies to use at runtime is most suited to situations where you know the interface but you want the freedom to decide which assembly you will use to implement that interface.
I would just point out that assemblies run from a network share will have reduced permissions when using the default security settings for .NET. Depending on what your assemblies do, you may need to alter these settings to give your assemblies the necessary permissions.
OK, either my original post was too long for anyone to read or I'm the only person having this problem. Let me simplify things. Has anyone noticed flaky behavior from .NET when creating or using a custom IComparer? I'll probably submit this to Microsoft support, but that will take forever... In the meantime, has anyone run across this sort of problem?
Most sort algorithms need stable comparison functions. Your function seems to be returning random results when the objects are different, so the .NET framework gets lost.
Suppose you have created a function where A > B > C > D. Your IComparable should be stable and NEVER return B > A > D > C.
Comparison is, too, a transitive function. So, if A > B and B > C, you can safelly assume that A > C. Your function does not guarantees that.
I've dome some research for an Open Source DataGrid component for .NET but I couldn't find anything worth working with. What do you think of starting up a new project for a suite of Data-aware components that could be comparable to commercial ones?
Is there anybody interested on talking about that?
Anybody know if the functionality of the discretionary access control lists is in the .NET managed framework anywhere --- i.e. can I programatically add or remove user permissions for a given shared printer without getting down and dirty with the API?
I've heard that some of these features can be found in the System.Management namespace. I have personally found it easier to just wrap the pertinent SDK calls using PInvoke. I seem to recall reading an article or two related to WMI and PInvoke/DACL stuff on this website. Try doing a search.
I have created a Windows Form control and also an application that uses it.
When I reference the control, if I don't choose "copy local = true", the it throws a System.IO.FileNotFoundException.
What may be the reason?
Yes, you are right...
In fact, the correct place for this assembly would be the GAC (Global Assembly Cache). However, I don't know how to tell my setup program to place the assembly into the GAC. (I am creating a Deployment Project)
Does anyone have any source examples that can read the metadata from a PE file? I have Serge Lidin's book _Inside Microsoft .NET Assembler_, but there seems to be a few errors in it, and some of the descriptions are a bit confusing.
Any help would be appreciated,
PS. This is my first post to CodeProject!!
Last Visit: 31-Dec-99 18:00 Last Update: 3-Oct-22 4:23