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

  • Home
  • SEARCH
  • 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 6332219
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T18:13:12+00:00 2026-05-24T18:13:12+00:00

I trying to use nant to build a solution via msbuild. The problem is

  • 0

I trying to use nant to build a solution via msbuild. The problem is the solution´s directory is:

C:\Repositorio\Proyectos Casino\SPPM\Codificación\PokerManager

as yo can see it got an specia character ó

this is my build file

<?xml version="1.0" encoding="ascii"?>
<project name="Simple" default="copy">
<property name="nantcontrib-dir"
   value="${path::combine(nant::get-base-directory(), '..\..\nantcontrib-0.85')}" overwrite="false" />

<property name="dest-dir"
   value="C:\temp\nant\table\full-release" overwrite="true" />

<property name="remote-dir"
   value="C:\temp\nant\table\full-release" overwrite="true" />


<property name="cleandir"
   value="C:\temp\nant\table" overwrite="false" />



<property name="pm-soldir"
   value ="C:\Repositorio\Proyectos Casino\SPPM\Codificación\PokerManager\PokerManager.sln" />



<loadtasks assembly=
    "${path::combine(nantcontrib-dir,'bin/NAnt.Contrib.Tasks.dll')}" 
 /> 
<target name="build-PokerManager"
        description="Builds all C# code">

<property name="nant.settings.currentframework" value="net-4.0"/>
  <msbuild project="${pm-soldir}">
    <property name="Configuration"
              value="release" />
    <property name="OutputPath" value="${dest-dir}"/>

  </msbuild>
</target>


<target name="copy" depends="build-PokerManager">
     <copy todir="${remote-dir}">
    <fileset basedir="${dest-dir}">
        <include name="**/*" />
    </fileset>
</copy>
    </target>



</project>

when i run it i get

build-PokerManager:

BUILD FAILED

C:\Juan Pablo\Release Maker\ForTablet\NAnt\table-releases.build(30,4):
'C:\Repositorio\Proyectos Casino\SPPM\Codifica
ci?n\PokerManager\PokerManager.sln' is not a valid value for attribute 'project'
 of <msbuild ... />.
    not valid characters in path..

Total time: 0.1 seconds.

i´ve tried using utf-8 and unicode but it didn´t work

Thanks in advance

  • 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-24T18:13:13+00:00Added an answer on May 24, 2026 at 6:13 pm

    I think Spudley is on the right track; Shouldn’t <?xml version="1.0" encoding="ascii"?> be <?xml version="1.0" encoding="UTF-8"?>. Ascii doesn’t do so well with Unicode characters…

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

Sidebar

Related Questions

I'm trying to use NAnt/NAntContrib build script to build a web application on Windows
I am trying to use the BuildInParallel option on MsBuild. I have an NAnt
I am currently trying to use NAnt and CruiseControl.NET to manage various aspects of
I have been trying to use the latest NAnt (0.86 Beta 1) for a
I'm trying to use the NAnt <get> task to download some artifacts from our
I'm trying use Lift and CalendarMonthView widget to build a appointment system. CalendarMonthView works
I'm trying to use Nant to compile an ASP.NET MVC app, so far my
I'm trying to use jsmin with nant - and it just uses stdin and
I'm trying to write a NAnt extension task that can update different settings within
I am trying to convert a build system setup with TeamCity and Nant scripts

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.