বিল্ড সার্ভারে আমার প্রকল্পটি নির্মাণের চেষ্টা আমাকে নিম্নলিখিত ত্রুটিটি দেয়:
Microsoft (R) Build Engine Version 4.0.30319.1
error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\TeamData\Microsoft.Data.Schema.SqlTasks.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
বিল্ড সার্ভারে ভিজ্যুয়াল স্টুডিও 2010 ইনস্টল করে আমি কয়েক মাস আগে এই সমস্যাটি সমাধান করেছি। তবে এখন আমি স্ক্র্যাচ থেকে একটি নতুন সার্ভার সেটআপ করছি, এবং আমি জানতে চাই যে এই সমস্যাটি সমাধানের জন্য আরও ভাল কোনও সমাধান আছে কিনা।
<Import Project="..\Packages\MSBuild.Microsoft.VisualStudio.Web.targets.14.0.0.3\tools\VSToolsPath\WebApplications\Microsoft.WebApplication.targets" />
পথটি এর পরিবর্তে স্থির করে $(VSToolsPath)
:<Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" />