I have a generated (via MSBuild) Web.config that runs prior to the Build target whose content includes, among other things, <compilation debug="true">. The generated Web.config is copied to the root and put in the Content item group. But when I run the Debug build in Visual Studio 2008 (via F5) I get the following dialog:
If I select ...
Is it possible to introduce ClickOnce functionality to an existing application?
The scenario is: Version 1.0 is already installed on client premises. I would like to send them a new setup package which will upgrade to 1.1, which has ClickOnce functionality, thereby making future upgrades "effortless".
Barring that, are there any other ...
Hello,
I have a C# flavored project and I want to add some custom nodes to my project where the only options when you right click on them is to add or remove a custom project item that I have already created, so I want it to be like the References node in that it cannot be deleted renamed and it only has 2 context menu options. Any ...
I would like to create a custom document library where I use the standard UI but implement a different persistence layer. Basically fetch and display documents from a different source system. This way I can use my existing object model but leverage the great office integration within SharePoint.
I found a decent article here but they ar...
When I'm adding items from the database into my dbml from the server explorer it complains that the connection strings aren't the same and it won't add my object until they are the same. Once I say OK update my connection string it trashes the formatting of my web.config and I need to remember to switch it back to the correct connection ...
If the user creates a web part page in SharePoint and then adds one of my custom web parts to it, I would like to completely hide a web part depending on a particular users permissions.
For example, I have a reporting web part some users have access to reports and some don't, I don't even want some users to know that reports exist.
I ...
This is a bit of a Visual Studio question. I feel with all the helpful Intellisense there should be something to assist but I can't seem to find it.
I made a page with a codebehind in ASP.NET C# in VS2008 and it autogenerates a PageLoad event method, of course. Well, what if I want to add methods for more events besides PageLoad? I w...
I'm making some controls which all have to share the same look and some common behavior, although they are meant for different kind of inputs. So I made a BaseClass which inherit from UserControl, and all my controls inherit from BaseClass.
However, if i add controls for BaseClass in the designer, such as a TableLayoutPanel, i can't acc...
I have a .NET project that for some reason gets stuck in debug mode. I've changed the compile mode from debug to release in the toolbar, but my project ends up in the debug directory anyway. Seems like VS is not updating the SLN file or something. Please help!
The reason I am asking about this is because it seems that there are weak ref...
I am trying to set up an automated build system on Windows using Cygwin. Among other things, it needs to be able to build several Visual C++ solutions. I have a script which sets up the environment variables needed for devenv, and if I type 'devenv' in bash it brings up the Visual Studio IDE. No problems so far.
I am also able to buil...
I have some xml data contained in three files (Database.xml, Participants.xml, and ConditionTokens.xml). I am trying to use external entities to place the participants and condition tokens into the database file, but when I run this code...
string xmlPath = Environment.CurrentDirectory + @"\Data\Database.xml";
XElement database = XEleme...
Hello everyone,
I have created a Windows Service project using VSTS 2008 Windows Service type project and now I want to write scripts to install/uninstall it using PowerShell. Any reference samples or documents?
thanks in advance,
George
...
I have a ATLCOM project migrated from VC6 to VS2008. My question is, how do I build the ps dllon VS 2008?
New ATL projects in VS2008 have a separate PS project which builds the ps dll. But the migration from VC6 did not create this project.
I tried to invoke nmake on the ps mk file but that gives a redefinition error for an enum type w...
#include <iterator>
#include <map>
#include <vector>
template <class T1, class T2>
class A
{
public:
typedef typename std::vector<std::pair<T1,T2> >::iterator iterator;
std::pair<iterator, bool > foo()
{
iterator aIter;
return std::pair<std::vector<std::pair<T1,T2> >::iterator, bool >(aIter ,false);
}
};
T...
How can I choose/change which browser to start when I run an ASP.NET Web application in VS2005 or VS2008?
...
I am using Visual Studio Team System 2008 and see it has an Icon Editor and support for icons (including favicons) rolled into the product.
What I can't seem to find is a good review of the pros and cons of using this tool vs. other methods (both on-line and programs) for creating icons?
Also if one is going to use the tool in VSTS is...
Is there a way to monitor (e.g. creation) alternate data streams using FileSystemWatcher? Or, perhaps another way? For my application I am not going to implement any polling mechanisms.
Thanks in advance,
Craig
...
Any ideas on how to build and compile flex 3 projects in visual studio? I prefer that environment to Flex Builder 3.
...
Anyone know of any examples on creating plug in's for VS2008 - preferably with VB.net?
...
I am looking for a refactoring plugin which specifically has the ability to take a declaration like this:
Dim myVar as MyType
or
Private MyVar as MyType
and turn it into this:
Private _myVar as MyType
Private Property MyVar as MyType
Get
return _myVar
End Get
Set (ByVal value as MyType)
_myVar = value
End...