ExcludeFilesFromDeployment and Team Build
-
martedì 28 febbraio 2012 17:00
I am trying to remove some files from deployment package using ExcludeFilesFromDeployment:
<ExcludeFilesFromDeployment>bin\*.xml</ExcludeFilesFromDeployment>
While this works for local builds, Tem Build still includes files. What am I doying wrong?
Tutte le risposte
-
giovedì 1 marzo 2012 14:32Moderatore
Hi Alex,
Would you please post the local build output, as well as Team build logs? People can analyze based on them.
Official guidance for that ExcludeFilesFromDeployment could be found here: http://msdn.microsoft.com/en-us/library/ee942158.aspx
Thanks.
Forrest Guo | MSDN Community Support | Feedback to us
- Modificato Forrest GuoMicrosoft Employee, Moderator giovedì 1 marzo 2012 14:35
-
giovedì 1 marzo 2012 16:06
Forrest,
You need to be more specific which part of 216KB log file you need. Or logs from XXX_Package\Log directory?
-
venerdì 2 marzo 2012 15:32Moderatore
Please send me logs to: forrestg@microsoft
Thanks,
Forrest Guo | MSDN Community Support | Feedback to us
-
giovedì 8 marzo 2012 06:20Moderatore
Alex, I haven't received logs yet. Log text from the Build Explorer should be good.
At the same time, I would suggest you check the project output path on build agent. bin\*.xml may not able to locates the necessary files. Based on this, you may replace it with specific files and each files seperated by semicolon (;) I'm referring to: http://msdn.microsoft.com/en-us/library/ee942158.aspx#can_i_exclude_specific_files_or_folders_from_deployment
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <ExcludeFilesFromDeployment> File1.aspx;File2.aspx </ExcludeFilesFromDeployment> <ExcludeFoldersFromDeployment> Folder1;Folder2 </ExcludeFoldersFromDeployment> <!-- Other settings --> </PropertyGroup>Hope you can resolve the problem soon.
Best Regards,
Forrest Guo | MSDN Community Support | Feedback to us
- Modificato Forrest GuoMicrosoft Employee, Moderator giovedì 8 marzo 2012 06:21
-
lunedì 12 marzo 2012 22:09Proprietario
Hi Alex,
Can you provide some more information for us?
Can post the build log file?
What kind of project are you trying to build? Is this an ASP.Net project?
Can you get the MSbuild command line and run it from the build machine? What happens there?
Thanks!
Trevor Hancock (Microsoft)
Please remember to "Mark As Answer" the replies that help. -
martedì 13 marzo 2012 01:23Moderatore
Hi Trevor,
I just forwarded the build log to you, please check it.
-
Forrest Guo | MSDN Community Support | Feedback to us
-
venerdì 16 marzo 2012 20:52
Trevor, Forrest,
Any updates?
-
martedì 20 marzo 2012 19:37Proprietario
We looked at the logs and queried for the errors, but were unable to find anything useful. Thank you for sending the log files, but at this point I think we're beyond what we can do here in the forum. We might need to get all your files and try to set up a repro.
If you cannot determine your answer here or on your own, consider opening a support case with us. Visit this link to see the various support options that are available to better meet your needs: http://support.microsoft.com/default.aspx?id=fh;en-us;offerprophone.
Trevor Hancock (Microsoft)
Please remember to "Mark As Answer" the replies that help.- Proposto come risposta Trevor HancockMicrosoft Employee, Moderator martedì 20 marzo 2012 19:37
- Contrassegnato come risposta Forrest GuoMicrosoft Employee, Moderator lunedì 9 aprile 2012 01:32

