Thread: Windows 7, Visual Studio 2010: building PgAdmin3

Windows 7, Visual Studio 2010: building PgAdmin3

From
zeray87
Date:
Hello guys,
This is my first ever post and here goes my apology for being newbie.

I have been able to build PgAdmin3  after several days of hassle on building
PgAdmin3 using build-wxmsw.bat.

Now i am trying to build PgAdmin3 using Visual Studio 2010. unfortunately,
the following error appears:
Error    1    error MSB4175: The task factory "XamlTaskFactory" could not be
loaded from the assembly "Microsoft.Build.Tasks.v4.0". Unable to create Xaml
task.  File not found: C:\pgbuild\pgadmin3-jinfroster\pgAdmin3.xml.
C:\pgbuild\pgadmin3-jinfroster\pgAdmin3.targets    45    6    pgAdmin3

I am desperately waiting for your help.Best Regards,
Zeray




--
View this message in context:
http://postgresql.nabble.com/Windows-7-Visual-Studio-2010-building-PgAdmin3-tp5901339.html
Sent from the PostgreSQL - hackers mailing list archive at Nabble.com.



Re: Windows 7, Visual Studio 2010: building PgAdmin3

From
Bruce Momjian
Date:
On Sat, Apr 30, 2016 at 12:11:16AM -0700, zeray87 wrote:
> Hello guys,
> This is my first ever post and here goes my apology for being newbie.
> 
> I have been able to build PgAdmin3  after several days of hassle on building
> PgAdmin3 using build-wxmsw.bat.
> 
> Now i am trying to build PgAdmin3 using Visual Studio 2010. unfortunately,
> the following error appears:
> Error    1    error MSB4175: The task factory "XamlTaskFactory" could not be
> loaded from the assembly "Microsoft.Build.Tasks.v4.0". Unable to create Xaml
> task.  File not found: C:\pgbuild\pgadmin3-jinfroster\pgAdmin3.xml.
> C:\pgbuild\pgadmin3-jinfroster\pgAdmin3.targets    45    6 pgAdmin3

This email list doesn't support pgadmin --- look here, 
http://www.pgadmin.org/support/ .

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com

+ As you are, so once was I. As I am, so you will be. +
+                     Ancient Roman grave inscription +



Re: Windows 7, Visual Studio 2010: building PgAdmin3

From
Yury Zhuravlev
Date:
zeray87 wrote:
> Hello guys,
> This is my first ever post and here goes my apology for being newbie.
>
> I have been able to build PgAdmin3  after several days of hassle on building
> PgAdmin3 using build-wxmsw.bat.

If I remember it right for PgAdminIII needed mingw now.

Thanks.

--
Yury Zhuravlev
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company



Re: Windows 7, Visual Studio 2010: building PgAdmin3

From
Dave Page
Date:
On Sun, May 1, 2016 at 10:24 AM, Yury Zhuravlev
<u.zhuravlev@postgrespro.ru> wrote:
> zeray87 wrote:
>>
>> Hello guys,
>> This is my first ever post and here goes my apology for being newbie.
>>
>> I have been able to build PgAdmin3  after several days of hassle on
>> building
>> PgAdmin3 using build-wxmsw.bat.
>
>
> If I remember it right for PgAdminIII needed mingw now.
> Thanks.

pgAdmin III has never supported Mingw, it's always used VC++.

-- 
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



Re: Windows 7, Visual Studio 2010: building PgAdmin3

From
Dave Page
Date:
On Sat, Apr 30, 2016 at 8:11 AM, zeray87 <tiggreen87@gmail.com> wrote:
> Hello guys,
> This is my first ever post and here goes my apology for being newbie.
>
> I have been able to build PgAdmin3  after several days of hassle on building
> PgAdmin3 using build-wxmsw.bat.
>
> Now i am trying to build PgAdmin3 using Visual Studio 2010. unfortunately,
> the following error appears:
> Error   1       error MSB4175: The task factory "XamlTaskFactory" could not be
> loaded from the assembly "Microsoft.Build.Tasks.v4.0". Unable to create Xaml
> task.  File not found: C:\pgbuild\pgadmin3-jinfroster\pgAdmin3.xml.
> C:\pgbuild\pgadmin3-jinfroster\pgAdmin3.targets 45      6       pgAdmin3

Visual Studio seems to delete that file when doing a clean, for
reasons I never quite figured out. You can just check it out from the
git repo again and it should be OK.

-- 
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company