Quantcast
Channel: MSBuild forum
Viewing all articles
Browse latest Browse all 2763

MVC application with MsBuild Extension Pack not generating published files

$
0
0

Hi,

I am using MsBuild to created a buid and precompiled/publishable web views. It is working normally in 32 bit system. But when i use the same script with sample MVC application the publishable views,images, js etc are not generating only the dll's are obtained.

Below is the script

<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
  <PropertyGroup>
    <SolutionPath>C:\My Experiments\MVCs\MvcApplication1\MvcApplication1.sln</SolutionPath>
    <BuildOutputPath>C:\temp\Out\</BuildOutputPath>
  </PropertyGroup>
  <Target Name ="A">
    <Message Text ="$(MSBuildBinPath)"/>
  </Target>
  <Target Name="Test" >
    <MSBuild Projects="$(SolutionPath)" Properties="OutputPath=$(BuildOutputPath);"></MSBuild>
  </Target>
  <Import Project="MSBuild.ExtensionPack.tasks"/>
</Project>

The Import "MSBuild.ExtensionPack.tasks" is taks file from the MsBuild Extension pack. can any one suggest why the view,js and images are not getting generated.


Viewing all articles
Browse latest Browse all 2763


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>