Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6853393
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T01:30:25+00:00 2026-05-27T01:30:25+00:00

I need to involve some markup and javascript people to help development team on

  • 0

I need to involve some markup and javascript people to help development team on azure asp.net MVC project.

Essentially what I need is for each person to run a local instance of the azure application to be able to make changes to content files (chtml/css/js) and test/debug them, just like if it’s started in VisualStudio (Ctrl+F5).

While it’s easy to provide source code to all parties so that each person has its own working copy – we use svn, I came across an issue with running local copy of the application in dev fabric.

I don’t want to install Visual Studio for everybody because it’s time consuming, and too expensive just for the purpose of starting up dev fabric. These people don’t use VisualStudio for html/css/js. And all the tools necessary available using SDKs: MSBuild, Azure, WIF, whatever.

I even managed to run dev fabric with the application using

MSBuild.exe Azure\Azure.ccproj /t:Publish
CSRun.exe Azure\csx\Debug Azure\bin\Debug\ServiceConfiguration.cscfg

Everything works well except of one thing – the content files are all copied under Azure\obj\Debug\WebRole folder together with all binary files.

This is different from the VisualStudio build – there the folder contains only binary files, while content files remain on their places. This is much more convenient way of making changes because files not only immediately available for debug once saved, but can also be easily checked-in/out from source control.

I reviewed CSPack reference and for sure it should allow scenario I want, but it’s difficult to figure out how to achieve it.
I suspect there must be a way of making such deployment using MSBuild (as long is VisualStudio heavily relies on it for all building/deployment actions), but I can’t seem to find a way of telling it what I want.

Does anybody know either proper way of running CSPack to repeat VisualStudio debug deployment scenario, or proper target/parameters for MSBuild to run azure project the same way VisualStudio does?

Maybe there’s a way to peek the actual command line executed inside of the VisualStudio build?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T01:30:26+00:00Added an answer on May 27, 2026 at 1:30 am

    Ok, after few hours of digging into Microsoft.WindowsAzure.targets and some additional dancing with tambourine I found the magic switches:

    MSBuild.exe Azure\Azure.ccproj /p:PackageForComputeEmulator=true /p:PackageWebRole=False
    

    This packages application just like VisualStudio does. Note, the azure build logic distinguishes targets Build and Publish and applies different rules depending on whether one, another or both have been specified. For my scenario it must have been Build (the default) only.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

need ask you about some help. I have web app running in Net 2.0.
I need to use javascript to request some data from the server in a.NET
Need some help about with Memcache. I have created a class and want to
An upcoming project at work looks like it might involve Silverlight. We're a .NET
In a PHP project I'm working on we need to create some DAL extensions
i need some help i want to load an xml file into a table
I need some help figuring out the best way to proceed with creating a
I'm unit testing a .NET application; some of the unit tests involve programmatically generating
I need to do some validations sequentially and some of them involve complex database
I just need some guidance. I'm fairly new to MVC3 and to web development

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.