51Testing软件测试论坛

标题: [新手求助].NET腳本錄製重撥問題 [打印本页]

作者: yenyiliu    时间: 2012-10-3 13:30
标题: [新手求助].NET腳本錄製重撥問題
各位大大好..新手又來求就了..
順利錄製完.NET腳本後...replay卻出現錯誤..
Project "C:\Users\lr64\Documents\VuGen\Scripts\test\Script.sln" (Build target(s)):

__________________________________________________
Project "C:\Users\lr64\Documents\VuGen\Scripts\test\Script.sln" is building "C:\Users\lr64\Documents\VuGen\Scripts\test\Script.csproj" (default targets):

C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(847,9): warning MSB3644: The reference assemblies for framework ".NETFramework,Version=v4.0" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend.
globals.cs(25,17): error CS0122: 'ak' is inaccessible due to its protection level
globals.cs(25,20): error CS0052: Inconsistent accessibility: field type 'ak' is less accessible than field 'Script.VuserClass.ak_1'
Done building project "Script.csproj" -- FAILED.

我已經有裝.NET SDK for win7了...請問是那邊沒設定好嗎?
謝謝各位點近來看的大大,麻煩幫我解答一下,謝謝。
作者: jacksboy    时间: 2012-10-7 18:32
net framework 4.0安装有问题吧,完全卸载4.0以后再重新安装试试
作者: smknifer    时间: 2013-2-25 11:12
请问LZ上述问题是如何解决的,先在碰到了同样的问题,求解决。。。




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2