Why can't Qt Creator find the Windows 10 SDK headers? - qt

I've installed Qt 5.14.2 with 64-bit MSVC libraries and Qt Creator 4.12.1. When I attempt to build any of the example projects, I get the following error:
C1083: Cannot open include file: 'stddef.h': No such file or directory.
I've already installed Visual Studio, along with UCRT and the Windows 10 SDK. I've verified that stddef.h does in fact exist inside the SDK. The problem appears to be that vcvarsall.bat (or vcvars64.bat) does not add the include directories for the SDK.
Here are the environment variables that are assigned by vcvars64.bat:
CommandPromptType=Native
DevEnvDir=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\
ExtensionSdkDir=C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs
Framework40Version=v4.0
FrameworkDir=C:\Windows\Microsoft.NET\Framework64\
FrameworkDir64=C:\Windows\Microsoft.NET\Framework64\
FrameworkVersion=v4.0.30319
FrameworkVersion64=v4.0.30319
INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\ATLMFC\include;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\include;
LIB=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\ATLMFC\lib\x64;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\lib\x64;
LIBPATH=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\ATLMFC\lib\x64;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\lib\x64;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\lib\x86\store\references;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;
Path=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\\Extensions\Microsoft\IntelliCode\CLI;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\bin\HostX64\x64;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\VC\VCPackages;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\bin\Roslyn;C:\Program Files (x86)\Microsoft Visual…
Platform=x64
VCIDEInstallDir=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\VC\
VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\
VCToolsInstallDir=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\
VCToolsRedistDir=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Redist\MSVC\14.26.28720\
VCToolsVersion=14.26.28801
VisualStudioVersion=16.0
VS160COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\Tools\
VSCMD_ARG_app_plat=Desktop
VSCMD_ARG_HOST_ARCH=x64
VSCMD_ARG_TGT_ARCH=x64
VSCMD_VER=16.6.0
VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\
WindowsLibPath=References\CommonConfiguration\Neutral
WindowsSDKLibVersion=winv6.3\
WindowsSDKVersion=\
__DOTNET_ADD_64BIT=1
__DOTNET_PREFERRED_BITNESS=64
__VSCMD_PREINIT_PATH=C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapath;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\windows\System32\OpenSSH\;C:\Program Files\Perforce;C:\Program Files\ServiceNow;C:\Program Files\PuTTY\;C:\Program Files\PowerShell\7\;C:\Program Files\Git\cmd;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\dotnet\;C:\Program Files\nodejs\;C:\Users\[REDACTED]\AppData\Local\Microsoft\WindowsApps;;C:\Users\[REDACTED]\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\[REDACTED]\AppData\Roaming\npm
__VSCMD_script_err_count=0
stddef.h is in C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt, but that path is not added to INCLUDE.
How is Qt Creator supposed to find the Windows SDK?

I recently had the exact same problem.
It's working in Visual Studio 2019 but not in Qt Creator and neither on the commandline.
The reason for my problem was missing rights to access the registry. To get some hints on your side just run the following:
set VSCMD_DEBUG=3
vcvars64.bat > log.txt
My output were multiple of these errors:
"ERROR: Registry editing has been disabled by your administrator."
Checking log.txt one could see that it was indeed not setting WindowsSdkDir properly.

I had similar issue, I don't know the exact cause but the workaround I followed is (I am building using QtCreator) adding following to .pro file.
INCLUDEPATH += "C:/Program Files (x86)/Windows Kits/10/Include/10/shared"
INCLUDEPATH += "C:/Program Files (x86)/Windows Kits/10/Include/10/um"
INCLUDEPATH += "C:/Program Files (x86)/Windows Kits/10/Include/10/ucrt"
LIBS += -L"C:/Program Files (x86)/Windows Kits/10/Lib/10/ucrt/x64"
LIBS += -L"C:/Program Files (x86)/Windows Kits/10/Lib/10/um/x64"

Related

Finding assemblies for a Universal or .NET Core app

When I create a new Universal application (with VS 2017), I see "Microsoft.NETCore.UniversalWindowsPlatform" as a reference. This seems to just signify that a host of actual assemblies are implied (I see System.AppContext.dll, System.Collections.dll, and many more in the project bin\x86\Debug folder after building the project).
Do these files exist somewhere on my machine and copied to the bin folder when building? Or are they downloaded via Nuget when building? (I know that they are not the usual .NET Framework files in the usual .NET Framework locations).
How do I know which assemblies are implied by "Microsoft.NETCore.UniversalWindowsPlatform" without actually building? (Visual Studio must get this information from somewhere since it knows which to add to the bin folder).
If you want to reflect on these assemblies for a specific project (for example, as part of a code refactoring process) without actually building the project, where would you find these assembles?
UAP target platform (previously netcore50) (https://learn.microsoft.com/es-es/dotnet/standard/frameworks)
it's located in 'C:\Program Files (x86)\Microsoft SDKs\NETCoreSDK'
You can take a look at the nuget file 'C:\Program Files (x86)\Microsoft SDKs\NETCoreSDK\Microsoft.NETCore.UniversalWindowsPlatform\5.0.0\Microsoft.NETCore.UniversalWindowsPlatform.nuspec' and see his dependencies or using nuget.org (https://www.nuget.org/packages/Microsoft.NETCore.UniversalWindowsPlatform/)
Most of his dependencies are located in the same folder (C:\Program Files (x86)\Microsoft SDKs\NETCoreSDK), so you can take a look at the dlls (for example C:\Program Files (x86)\Microsoft SDKs\NETCoreSDK\System.Collections.Immutable\1.1.37\lib\dotnet\System.Collections.Immutable.dll)

Redefinition (WinSock2.h, winsock.h, ws2def.h) when using OR-Tools in Qt

I am making an UI with Qt for Googles OR-Tools and when trying to build logs go haywire with redefinitions...
The relevant part of my Qt project file looks like this
LIBS += or-tools_VisualStudio2017-64bit_v7.0.6546/ortools.lib
INCLUDEPATH += or-tools_VisualStudio2017-64bit_v7.0.6546/include
DEPENDPATH += or-tools_VisualStudio2017-64bit_v7.0.6546/include
The compiler complains about
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared\ws2def.h(103): warning C4005: "AF_IPX": Makro-Neudefinition
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um\winsock.h(457): note: Siehe vorherige Definition von "AF_IPX"
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared\ws2def.h(147): warning C4005: "AF_MAX": Makro-Neudefinition
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um\winsock.h(476): note: Siehe vorherige Definition von "AF_MAX"
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared\ws2def.h(185): warning C4005: "SO_DONTLINGER": Makro-Neudefinition
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um\winsock.h(399): note: Siehe vorherige Definition von "SO_DONTLINGER"
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared\ws2def.h(235): error C2011: "sockaddr": "struct" Typneudefinition
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um\winsock.h(1007): note: Siehe Deklaration von "sockaddr"
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared\ws2def.h(437): error C2059: Syntaxfehler: "Konstante"
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared\ws2def.h(437): error C3805: "Konstante": unerwartetes Token, es wurde entweder "}" oder ein "," erwartet
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared\ws2def.h(572): warning C4005: "IN_CLASSA": Makro-Neudefinition
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um\winsock.h(284): note: Siehe vorherige Definition von "IN_CLASSA"
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared\ws2def.h(578): warning C4005: "IN_CLASSB": Makro-Neudefinition
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um\winsock.h(290): note: Siehe vorherige Definition von "IN_CLASSB"
and so on ...
I am using OR-Tools in a class like this
#include "ortools/sat/cp_model.h"
using namespace operations_research;
using namespace operations_research::sat;
Already searched here on SO and on google and have tried
#define _WINSOCKAPI_
#define WIN32_LEAN_AND_MEAN
#include "ortools/sat/cp_model.h"
using namespace operations_research;
using namespace operations_research::sat;
But that doenst help...
What is very confusing is that when i used that same include in another console only Qt test project it worked...
With Notepad++'s "search in files" i found out the library headers that depend on windows.h are
spinlock_win32.inc
stacktrace_win32-inl.inc
symbolize_win32.inc
waiter.h
CoinTime.hpp
zconf.h
And those that include winsock2.h are
time.h
time_util.h
However, I'd rather not chage anything in them and like to have it work out-of-the-box like it did with my console only test project...
Im am using Qt 5.12.0 MSVC2017 64 Bit and am on Win10
Not much I can do, these are all dependencies.
From what I see, the protobuf includes time_util.h which drags winsock2.h
I do not find what include windows .h from cp_model.h
Is it from Qt ?
Anyway, can you encapsulate all or-tools code in a cpp file that include nothing suspicious (like QT) ?
Adding a DEFINES += _WINSOCKAPI_ in the Qt project config file (*.pro) has solved it.

ASP.NET Core not finding npm

I have a new Asp.NET Core Web / React application.
When I try to run it I get the error:
An unhandled exception occurred while processing the request.
AggregateException: One or more errors occurred. (One or more errors
occurred. (Failed to start 'npm'. To resolve this:.
[1] Ensure that 'npm' is installed and can be found in one of the PATH
directories.
I have a PATH variable set up:
C:\Program Files\nodejs
In this folder is node.exe
Do I need to install something into the project?
I have made no other changes to the project since creating it from the VS Web Application template. I just want it to run...
The full path error list:
Current PATH enviroment variable is: C:\Program
Files\Android\jdk\microsoft_dist_openjdk_1.8.0.9\bin;C:\Program
Files\Microsoft MPI\Bin\;C:\Program Files (x86)\Intel\iCLS
Client\;C:\Program Files\Intel\iCLS
Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program
Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program
Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files
(x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program
Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files
(x86)\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\;C:\Program
Files (x86)\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files
(x86)\Microsoft SQL Server\130\DTS\Binn\;C:\Program Files
(x86)\Microsoft SQL Server\130\Tools\Binn\ManagementStudio\;C:\Program
Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program
Files\TortoiseHg\;C:\Program Files (x86)\PKWARE\pkzipc;C:\Program
Files\Microsoft\Web Platform Installer\;C:\Program
Files\dotnet\;C:\Program Files\7-Zip;C:\Program
Files\OpenVPN\bin;C:\Program Files\nodejs\;C:\Program
Files\Mercurial\;C:\Program Files\Intel\WiFi\bin\;C:\Program
Files\Common Files\Intel\WirelessCommon\;C:\Program Files\010
Editor;C:\Program Files (x86)\Microsoft Emulator
Manager\1.0\;C:\Scripts;C:\Program Files\Microsoft SQL Server\Client
SDK\ODBC\130\Tools\Binn\;C:\Program Files\Microsoft SQL
Server\130\DTS\Binn\;C:\Program Files
(x86)\GtkSharp\2.12\bin;C:\ProgramData\chocolatey\bin;C:\Program
Files\Java\jdk1.8.0_162\bin;C:\clojure-clr-1.8.0-Release 4.0\Release
4.0\clojure;C:\Program Files\PuTTY\;C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\;C:\Program Files\Microsoft SQL
Server\140\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL
Server\140\DTS\Binn\;C:\Program Files\Microsoft SQL
Server\140\DTS\Binn\;C:\Program Files\Git\cmd;C:\Program Files
(x86)\Windows Kits\10\Windows Performance
Toolkit\;C:\Users\stuarts.cargo\bin;C:\Program Files (x86)\Elm
Platform\0.18\bin;C:\Users\stuarts\AppData\Local\Programs\Python\Python35\Scripts\;C:\Users\stuarts\AppData\Local\Programs\Python\Python35\;C:\Users\stuarts\AppData\Local\Microsoft\WindowsApps;C:\Nuget\nuget.exe;C:\utils;C:\Users\stuarts\AppData\Roaming\Python35\Scripts;C:\Program
Files\7-Zip;C:\Users\stuarts\AppData\Roaming\npm;C:\Program
Files\Intel\WiFi\bin\;C:\Program Files\Common
Files\Intel\WirelessCommon\;C:\Users\stuarts\AppData\Local\Programs\Fiddler;C:\Scripts;C:\Nuget;C:\Program
Files\Microsoft VS
Code\bin;C:\Users\stuarts.lein\bin;C:\Users\stuarts\AppData\Local\atom\bin;C:\clojure-clr-1.8.0-Release
4.0\Release 4.0;C:\Users\stuarts.dotnet\tools;C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.7.2
Tools;C:\Windows\Microsoft.NET\Framework\v4.0.30319;C:\Program
Files\nodejs;
You can see node is the last one...

R - spaces in path to executable

I am trying to run Rscript.exe from the command line. It is installed in:
D:\Program Files\Microsoft\R Client\R_SERVER\bin\x64. I have added this location to my PATH.
When I run
Rscript --version
I get the following:
'D:\Program' is not recognized as an internal or external command,
operable program or batch file.
It is working fine from RStudio. Can't seem to find a solution other than installing in a separate location without spaces in the path name.
EDIT:
where R: D:\Program Files\Microsoft\R Client\R_SERVER\bin\x64\R.exe
where rscript: D:\Program Files\Microsoft\R Client\R_SERVER\bin\x64\Rscript.exe
set PATH:
Path=C:\Program Files\Microsoft MPI\Bin\;C:\ProgramData\Oracle\Java\javapath;D:\Program Files\Python36\Scripts\;D:\Program Files\Python36\;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;D:\Program Files\Git\cmd;D:\Program Files\nodejs\;C:\Program Files (x86)\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\140\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\ManagementStudio\;D:\Program Files (x86)\Yarn\bin;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;D:\Program Files\MySQL\MySQL Utilities 1.6\;D:\Program Files\CMake\bin;C:\Users\affan.shahid\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Microsoft VS Code\bin;C:\Users\affan.shahid\AppData\Roaming\npm;C:\Users\affan.shahid\AppData\Local\Yarn\bin;D:\Program Files\Microsoft\R Client\R_SERVER\bin\x64;
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.PYW

culture folder is not created during compilation using satellite assembly

I am working on satellite assembly.In future we need to use resource "DLL" instead of .Resx file of all culture.everything is fine but when i am compile the project using batch,few culture folder is not created inside obj\debug.
please see in below where only fr-FR and gu-IN folder is created.why pa_IN folder is not created?
i did not understand why this problem is occurred
.please guide or suggest me,what should i have to do?i need to improve code or need extra setting?
below is my compile code:
Microsoft (R) Build Engine Version 4.0.30319.1
[Microsoft .NET Framework, Version 4.0.30319.296]
Copyright (C) Microsoft Corporation 2007. All rights reserved.
Build started 9/12/2013 3:24:35 PM.
Project "D:\MyProject\DynamicResourceDLL.csproj" on node 1 (rebuild target(s)).
CoreClean:
Deleting file "D:\MyProject\bin\Debug\makeDll.dll".
Deleting file "D:\MyProject\bin\Debug\makeDll.pdb".
Deleting file "D:\MyProject\obj\Debug\makeDll.dll".
Deleting file "D:\MyProject\obj\Debug\makeDll.pdb".
CoreResGen:
"c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools\resgen.exe" /useSourcePath /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Microsoft.CSharp.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.DataSetExtensions.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.dll" /compile Circle\Oval5\Oval5.resx,obj\Debug\makeDll.Circle.Oval5.Oval5.resources Circle\Oval5\Oval5.pa_IN.resx,obj\Debug\makeDll.Circle.Oval5.Oval5.pa_IN.resources Circle\Oval5\Oval5.fr-FR.resx,obj\Debug\makeDll.Circle.Oval5.Oval5.fr-FR.resources Circle\Oval5\Oval5.gu-IN.resx,obj\Debug\makeDll.Circle.Oval5.Oval5.gu-IN.resources
Processing resource file "Circle\Oval5\Oval5.resx" into "obj\Debug\makeDll.Circle.Oval5.Oval5.resources".
Processing resource file "Circle\Oval5\Oval5.pa_IN.resx" into "obj\Debug\makeDll.Circle.Oval5.Oval5.pa_IN.resources".
Processing resource file "Circle\Oval5\Oval5.fr-FR.resx" into "obj\Debug\makeDll.Circle.Oval5.Oval5.fr-FR.resources".
Processing resource file "Circle\Oval5\Oval5.gu-IN.resx" into "obj\Debug\makeDll.Circle.Oval5.Oval5.gu-IN.resources".
GenerateTargetFrameworkMonikerAttribute:
Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files.
CoreCompile:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /errorreport:prompt /warn:4 /define:DEBUG;TRACE /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Microsoft.CSharp.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.DataSetExtensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.dll" /debug+ /debug:full /filealign:512 /optimize- /out:obj\Debug\makeDll.dll /resource:obj\Debug\makeDll.Circle.Oval5.Oval5.resources /resource:obj\Debug\makeDll.Circle.Oval5.Oval5.pa_IN.resources /target:library Circle\Oval5\Oval5.Designer.cs Circle\Oval5\Oval5.Designer.pa_IN.cs Circle\Oval5\Oval5.Designer.fr-FR.cs Circle\Oval5\Oval5.Designer.gu-IN.cs Properties\AssemblyInfo.cs "C:\Users\schakravorty\AppData\Local\Temp\.NETFramework,Version=v4.0.AssemblyAttributes.cs"
GenerateSatelliteAssemblies:
Creating directory "obj\Debug\fr-FR".
Creating directory "obj\Debug\gu-IN".
c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools\AL.exe /culture:fr-FR /out:obj\Debug\fr-FR\makeDll.resources.dll /template:obj\Debug\makeDll.dll /embed:obj\Debug\makeDll.Circle.Oval5.Oval5.fr-FR.resources
GenerateSatelliteAssemblies:
c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools\AL.exe /culture:gu-IN /out:obj\Debug\gu-IN\makeDll.resources.dll /template:obj\Debug\makeDll.dll /embed:obj\Debug\makeDll.Circle.Oval5.Oval5.gu-IN.resources
CopyFilesToOutputDirectory:
Copying file from "obj\Debug\makeDll.dll" to "bin\Debug\makeDll.dll".
makeDll -> D:\MyProject\bin\Debug\makeDll.dll
Copying file from "obj\Debug\makeDll.pdb" to "bin\Debug\makeDll.pdb".
Creating directory "bin\Debug\fr-FR".
Copying file from "obj\Debug\fr-FR\makeDll.resources.dll" to "bin\Debug\fr-FR\makeDll.resources.dll".
Creating directory "bin\Debug\gu-IN".
Copying file from "obj\Debug\gu-IN\makeDll.resources.dll" to "bin\Debug\gu-IN\makeDll.resources.dll".
Done Building Project "D:\MyProject\makeDll.csproj" (rebuild target(s)).
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:01.09
You need to change the resource filename from pa_IN to pa.IN
From [MSDN][1]
The culture name in the format languagecode2-country/regioncode2.
languagecode2 is a lowercase two-letter code derived from ISO 639-1.
country/regioncode2 is derived from ISO 3166 and usually consists of
two uppercase letters.
[1] http://msdn.microsoft.com/en-us/library/system.globalization.cultureinfo.name.aspx

Resources