Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 4 of 4

Thread: Visual Studio Question

  1. #1
    chrismartz is offline Senior Member
    Join Date
    Apr 2010
    Posts
    339

    Default Visual Studio Question

    I have been using Visual Studio 2008 for about 2 years now and I just now found out that when you do a rebuild of the dll's it should output to location/bin/release as well as web/bin. My setup is not outputting to the web/bin folder. Is there something I should check as to why it's not doing this.

    When I look at the output after a build/rebuild, I get the following line, which makes me think the file should be being placed in the web/bin folder:

    Code:
    C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\sgen.exe /assembly:C:\inetpub\wwwroot\9013\ASPDNSFCore\obj\Release\AspDotNetStorefrontCore.dll /proxytypes /reference:..\Web\bin\ASPDNSFApplication.dll /reference:..\Web\bin\ASPDNSFEncrypt.dll /reference:C:\inetpub\wwwroot\9013\ASPDNSFCommon\bin\Release\AspDotNetStorefrontCommon.dll /reference:..\Web\bin\CMPCDotNet.dll /reference:..\Web\bin\eWorld.UI.dll /reference:..\Web\bin\ExcelWrapper.dll.............
    My SLN file has this configuration:
    Code:
    Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "9013", "http://localhost/9013", "{B1611538-8A23-47DE-9998-EBB2583CB10A}"
    	ProjectSection(WebsiteProperties) = preProject
    		TargetFramework = "3.5"
    		Debug.AspNetCompiler.VirtualPath = "/9013"
    		Debug.AspNetCompiler.PhysicalPath = "Web\"
    		Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\9013\"
    		Debug.AspNetCompiler.Updateable = "true"
    		Debug.AspNetCompiler.ForceOverwrite = "true"
    		Debug.AspNetCompiler.FixedNames = "false"
    		Debug.AspNetCompiler.Debug = "True"
    		Release.AspNetCompiler.VirtualPath = "/9013"
    		Release.AspNetCompiler.PhysicalPath = "Web\"
    		Release.AspNetCompiler.TargetPath = "PrecompiledWeb\9013\"
    		Release.AspNetCompiler.Updateable = "true"
    		Release.AspNetCompiler.ForceOverwrite = "true"
    		Release.AspNetCompiler.FixedNames = "false"
    		Release.AspNetCompiler.Debug = "False"
    		SlnRelativePath = "Web\"
    	EndProjectSection
    EndProject
    WHen I open my dev site, I go to http://localhost/9013

    I have never had this working and it seems like it would make development much easier than copying and pasting from dir/bin/release to web/bin every time I rebuild or build. Thanks for any help!
    Last edited by chrismartz; 07-13-2011 at 01:26 PM.

  2. #2
    mmcgeachy is offline Senior Member
    Join Date
    Sep 2008
    Posts
    174

    Default

    It looks like you lost the project references. You can either re-add them in visual studio or try adding this line of code to the website project
    Code:
    ProjectReferences = "{65E8266F-BD0A-4C2A-B7DE-13AEE9DF0FAE}|AspDotNetStorefrontCommon.dll;{0249CF6E-1CD6-4F6F-953F-5EF1A3BC71F9}|AspDotNetStorefrontControls.dll;{06ED156E-CA02-4A2B-80C4-EEED5A84E9F9}|AspDotNetStorefrontCore.dll;{EB4333E4-C278-4D42-8370-42F3052B9AF5}|AspDotNetStorefrontEventHandlers.dll;{63E62D25-0D49-4414-836E-85481A039C06}|AspDotNetStorefrontGateways.dll;{4EA8AADF-9871-45B3-A22B-946502A799CB}|HostView.dll;{CD77AC66-1D24-4A26-98DA-1E8C8D6A6D43}|AspDotNetStorefrontLayout.dll;{9900E6FD-B97F-4DAA-9DF9-3E1CE78F48C8}|AspDotNetStorefrontWSI.dll;{5487D70A-C4DC-4062-82CD-3F2EF1DB1A1B}|XsltObjects.dll;{95BAAED0-49ED-4190-8D4F-783694A8F3CB}|AspDotNetStorefrontAdmin.dll;"

  3. #3
    chrismartz is offline Senior Member
    Join Date
    Apr 2010
    Posts
    339

    Default

    I don't know how those would have went missing. Where do I readd those through visual studio? I guess those don't impact the build of the site?

  4. #4
    chrismartz is offline Senior Member
    Join Date
    Apr 2010
    Posts
    339

    Default

    I put those in there and sure enough, I can build out to the web/bin folder. I can't believe I've been missing this the whole time :P It's so much simpler now