Search

You searched for the word(s): userid:684326

Matching Posts

  • Re: Can't find assembly when compiling dependent projects to common folder

    It's in the properties for the Assembly reference. -Mike [quote user="thuhue"] I am glad the problem is now resolved. But please tell us where you found the "Specific Version" flag to change it to "false"? [/quote]
    Posted to Getting Started (Forum) by mikebridge on 11/16/2009
  • Can't find assembly when compiling dependent projects to common folder

    I'm trying to break a large solution down into a master solution and a set of independent sub-solutions. As part of that, I started to send the output of the projects to a "/CommonLib" directory inside the solution, and then link to the DLLs rather than the projects. The problem I'm encountering (VS2008 9.0.21022.8) is that I'm getting an error while compiling MyAssembly2: Error 6 The type or namespace name 'MyAssembly1' could not be found (are you missing a using directive
    Posted to Getting Started (Forum) by mikebridge on 11/13/2009
  • Re: Can't find assembly when compiling dependent projects to common folder

    I found that I could add the reference to the DLL and get it to compile, but at some point when I open the solution, it would delete the "Path". I verified in FileMon that the compilation was still locating the DLL, but it was not using it. I think it was stuck looking for the assembly from the last compilation. I've been able to get it to work by changing the "Specific Version" flag to "false". Thanks, -Mike [quote user="raghav_khunger"] Hi, Mike Have
    Posted to Getting Started (Forum) by mikebridge on 11/13/2009
  • Re: VS2008 + IIS6 + VirtualBox problem

    I've posted there too; the issue seems to be that VS2008 is confused by the extra IP address, but I can't figure out why it's preventing it from loading my webapp. The webapp is registered as "localhost" in the project file, so I would think it shouldn't make any difference what the other hostnames and ip addresses on the machine are. I think this is a problem with Visual Studio or IIS, but I'm really not sure. [quote user="jeff@zina.com"] Might check www.virtualbox
    Posted to Installation and Setup (Forum) by mikebridge on 7/2/2009
  • Re: VS2008 + IIS6 + VirtualBox problem

    Still haven't found the cause of this, but a workaround is to turn off UseIIS in the .csproj file: <ProjectExtensions> <VisualStudio> <FlavorProperties GUID="{...}"> <WebProjectProperties> <UseIIS> False </UseIIS> <!-- ... --> </FlavorProperties> </VisualStudio> </ProjectExtensions>
    Posted to Installation and Setup (Forum) by mikebridge on 7/2/2009
  • VS2008 + IIS6 + VirtualBox problem

    I just installed VirtualBox on Windows XP Pro SP3, and as part of its installation it created a new network connection called "VirtualBox Host-Only Network" with an IP address of 192.168.56.1. A side-effect of this is that my Web Application does not load any longer in Visual Studio 2008. When I open the solution with this "VirtualBox Host-Only Network" enabled, the webapp fails to load with the message: The local IIS URL http://localhost/MyWebApp specified for Web Project WebApp
    Posted to Installation and Setup (Forum) by mikebridge on 6/30/2009
  • Re: Wrong version of csc.exe---how to make 3.5 the default?

    Ok, I see now that the difference can be accounted for by my deployment process, which resulted in a different version of web.config on the deployment server. Unless I'm mistaken, the "compilers" option in web.config seems to be required to get it compiled on 3.5. -Mike
  • Wrong version of csc.exe---how to make 3.5 the default?

    I've got a web site which works fine on my test server but fails on my deployment server. It's failing to compile some C# 3.5 language features, and when I look at the "Show Detailed Compiler" output on the error page, it shows me that it's using the wrong version of the CSC.EXE compiler: c:\windows\system32\inetsrv> "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\csc.exe" /t:library /utf8output [...] Microsoft (R) Visual C# 2005 Compiler version 8.00.50727.3053
  • Re: Error with Page_ValidationSummaries in ValidationSummaryOnSubmit with custom validation summary

    I had that problem because I had overridden a "display" method (I forget which one) in a subclass of ValidationSummary in .Net 1.1. However, the structure of ValidationSummary changed when 2.0 came out. This was a bad idea because it relied on some internal properties of the ValidationSummary. Now instead of creating a class which inherits from ValidationSummary, I subclass WebControl and wrap it around a ValidationSummary (I create the ValidationSummary inside CreateChildControls). -Mike
    Posted to Web Forms (Forum) by mikebridge on 6/25/2008
  • Re: Preselecting item in CascadingDropDown from the values in the database

    Putting this somewhere in the page initialization might work, too: MyCascadingStateDropDown1.SelectedValue = mystateid; This seems to invoke the WebMethod to prepopulate the list, preselect the default, and invoke the cascade.
Page 1 of 4 (33 items) 1 2 3 4 Next >