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 8060349
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T09:57:33+00:00 2026-06-05T09:57:33+00:00

My WP7 solution has a Class Library which contains three big embedded resources. When

  • 0

My WP7 solution has a Class Library which contains three big embedded resources. When the XAP file is generated, it takes quite a while to compress those three files and I would like to speed up the time required to build when I am in Debug mode (but not Release).

How do I specify in the CSProj that I don’t want the file 2 and 3 to be build if I am building Debug?

  <ItemGroup>
    <EmbeddedResource Include="Data\my-big-file-1.txt" />
    <EmbeddedResource Include="Data\my-big-file-2.txt" />
    <EmbeddedResource Include="Data\my-big-file-3.txt" />    
  </ItemGroup>

Thanks!

  • 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-06-05T09:57:34+00:00Added an answer on June 5, 2026 at 9:57 am

    You can use conditions in your Project Definition file.

    http://msdn.microsoft.com/en-us/library/ms171455.aspx

    <EmbeddedResource Include="Data\my-big-file-2.txt"  Condition=" '$(Configuration)' == 'Release' "/>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm attempting to build a WP7 solution file form the command line using MSBuild
I have a page in my WP7 which contains some text boxes. When pressing
I want a class (called PremiseServer) in my Mvvm-Light solution (WP7) to subscribe to
Currently I have a solution with Windows and WP7 XNA projects in it. Whenever
Is there a scrollviewer WP7 control which have categories title? The category title can
I am developing a WP7 app, which needs online connectivity. Before navigating to any
I am looking for a solution to license a WPF, Silverlight and WP7 assembly.
I am programming WP7 application adhering the MVVM pattern. I have ViewModelLocator which ensures
I am planning to write WP7 app, which needs to send to server phones
I'm currently making an application for WP7 where I'm implementing a currency exchange solution.

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.